package cn.edu.ujn.lab3.dao;

import java.util.List;

public interface InvoiceMapper {
    
    int deleteByPrimaryKey(Integer invoiceId);

    int insert(Invoice record);

    int insertSelective(Invoice record);

    Invoice selectByPrimaryKey(Integer invoiceId);

    int updateByPrimaryKeySelective(Invoice record);

    int updateByPrimaryKey(Invoice record);
    
    // 商品列表
    List<Invoice> selectInvoiceList(Invoice invoice);

    // 商品数
    Integer selectInvoiceListCount(Invoice invoice);

}